{extend name="index_base" /} {block name="seo"}
<title>申请收录 - {$site_config['site_title']}</title>
<meta name="keywords" content="网站提交,申请收录网站,网站合作提交">
<meta name="description" content="在此页面您可以提交您的网站给我们进行收录，这一切都是免费的，欢迎广大站长提交您的网站！"> {/block} {block name="body"}


<div class="breadnav">
    <div class="container bread">
        <i class="fa fa-home"></i><a title="首页" href="/">首页</a>
                <i class="fa fa-angle-right"></i>网站公告<i class="fa fa-angle-right"></i>提交网站</div>
</div>

<div class="container">
    <div class="page part current">
        <h1 class="tt">
            <span>网站提交</span>
            <span class="data fr">
                <small class="info"><i class="fa fa-clock-o"></i>2021-05-20</small>
            </span>
        </h1> 
        <div class="dasewt">
            <h3 style="line-height: 2.5em;font-size: 2em;text-align: right;">~~~收录公约</h3>
            <p style="line-height:2.5em;">我们欢迎您提交您的网站！</p>
            <p style="line-height:2.5em;"><font color="red">请您想提交您的网站之前，打开右上角的搜索按钮：<br/>
            输入您的网站信息查看一下是否已经收录，若没有再提交！</font></p>
            <p style="line-height:2.5em;">也请您保证您提交的网站内容是积极健康、合规合法的；</p>
            <p style="line-height:2.5em;">否则，您提交的内容是不会通过站长二次审核的；</p>
            <p style="line-height:2.5em;">同时，请您需要收录的网站提交时完整的填写您网站的关键词、网站内容简介等；</p>
            <p style="line-height:2.5em;">其他favicon图标和网站首页图片会由站长审核时用工具二次编辑；</p>
            <p style="line-height:2.5em;">欢迎您提交您的网站，让更多人知道您的网站。</p>
            
        </div>
        <script type="text/javascript" src="__STATIC__/daohang/js/gaga.js"></script>
        <form name="tj" method="post" data-type="sites" class="dasewt">
        <div class="row-sm">
            <div class="col-sm-6 my-2">
              <div class="input-group">
                <div class="input-group-prepend">
                  <span class="input-group-text">
                    <i class="fa fa-info-circle" aria-hidden="true"></i>
                    </span>
                </div>
                <input type="text" id="d1" class="form-control" value="" name="title" placeholder="网站名称 *" maxlength="30"/>
              </div>
            </div>
            <div class="col-sm-6 my-2">
              <div class="input-group">
                <div class="input-group-prepend">
                  <span class="input-group-text">
                    <i class="fa fa-toggle-off" aria-hidden="true"></i>
                    </span>
                </div>
                <input type="text" id="urr" class="form-control changdu" value="" name="outlink" placeholder="网站URL *（http(s)开头）"/>
                <input type="button" class="btn" id="huoqushuju" value="获取TKD">
              </div>
            </div>
            <div class="col-sm-6 my-2">
              <div class="input-group">
                <div class="input-group-prepend">
                  <span class="input-group-text"><i class="fa fa-tag" aria-hidden="true"></i></span>
                </div>
                <input type="text" class="form-control" value="" id="d2" name="keywords" placeholder="网站关键字，请用英语逗号分隔 *" maxlength="50"
                />
              </div>
            </div>
            <div class="col-sm-6 my-2">
              <div class="input-group">
                <div class="input-group-prepend">
                  <span class="input-group-text"><i class="fa fa-list-ul" aria-hidden="true"></i></span>
                </div>
                <select name="tid" id="tougaocategorg_sites" class="form-control">
                    {volist name="category_level_list" id="vo"}
                    <option value="{$vo.id}">{neq name="vo.level" value="1"}|{php}for($i=1;$i<$vo['level'];$i++){echo ' --';}{/php}{/neq}{$vo.name}</option>
                    {/volist}
                </select>
              </div>
            </div>

            <div class="col-12 my-2">
              <label style="vertical-align: top" for="tougao_content">网站介绍:</label>
              <textarea id="d3" class="form-control text-sm" rows="6" cols="55" name="content"></textarea>
            </div>
          </div>
          <div class="row-sm mb-4"> 
              <div class="col-sm-12 col-md-4 my-2"> 
                  <div class="input-group text-sm"> 
                      <div class="input-group-prepend"> 
                          <span class="input-group-text"><i class="fa fa-key" aria-hidden="true"></i></span> 
                        </div> 
                        <input id="input_veri" type="text" name="yzm" class="form-control input_veri" maxlength="4" placeholder="输入验证码"> 
                        <div class="input-group-append"> 
                            <span class="verification-text input-group-text text-sm"  style="padding: 0px;"><img id="captcha" src="yzm.html" onclick="this.src='yzm.html?'+Math.random();" width="90px" height="33px" style="float:left; cursor:pointer;border-radius: 5px;" alt="captcha"></span> 
                        </div> </div> </div> 
                        <div class="col-12 col-md-3 my-2"> 
                            <button class="btn btn-danger custom_btn-d text-sm col-12 custom-submit" id="tijiao">提交</button>
                            <button onclick="history.go(-1);return false;" class="btn btn-danger custom_btn-d text-sm col-12 custom-submit">返回</button>
                         </div> </div>
        </form>

    </div>

</div>
<script type="text/javascript" src="__STATIC__/daohang/js/gaga.js"></script>
<script>
    $('#huoqushuju').click(function(){
        var a = $('#urr').val();
        if(a == "" || a == null || a == undefined) { 
            alert("需要获取数据的网址不能为空！");
         }
        $.ajax({
            //请求方式
            type:"GET",
            //文件位置
            url:"https://api.mxooo.cn/bushi_api/zhuaqu/?url="+a,
            //返回数据格式为json,也可以是其他格式如
            dataType:"JSON",
            //请求成功后要执行的函数，拼接html
            success:function(data){
            console.log("成功读取数据！");
            $('#d1').val(data.titler);
            $('#d2').val(data.keywords);
            $('#d3').val(data.description);

            }
        });
    });
</script>
{/block}